package com.ilock.service;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import com.ilock.bean.Ilockloc;

public interface ILockLocService {

	public Ilockloc getLockLocById(int lockId);
	
	public List getLocklocListByTime(int lockid,Timestamp timestamp);
	
	public void addLockLoc(int lockId,double loclng,double loclat);
	
	public Ilockloc getLockLatestLocation(int lockID);
	
	public List getNearLockList(int lockID,double lng,double lat,double scope);
	
	public Map getNearUserListByToken(String lockToken);
	
	public List getLoseConnLockList();

}
